import Vue from 'vue';
import App from './App.vue';
import router from './router';
import Vant, { Lazyload } from 'vant';
import 'vant/lib/index.css';
import * as api from '@/api';
import '@/mixins';
import '@/filters';
import store from './store'

Vue.prototype.$http = api;
Vue.use(Vant);

Vue.use(Lazyload, {
  lazyComponent: true,
  loading:
    'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F01f4055864c2c3a8012060c8dc7eca.gif&refer=http%3A%2F%2Fimg.zcool.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1658643182&t=374af68ea45b88220a8b3829c9c94433',
});

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app');
